﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="JiHuaCX_YB.aspx.cs" Inherits="Web.Pages.YongShui._12.ChaXunGL.JiHuaCX_YB" Theme="Default"%>
<%@ Register Assembly="DevExpress.Web.v15.2, Version=15.2.9.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" Namespace="DevExpress.Web" TagPrefix="dx" %>
<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
    <script src="../../../JS/jquery.js"></script>
    <script src="../../../JS/AddEditCancel.js" type="text/javascript"></script>
    <link href="../../../css/inputBgColor.css" rel="stylesheet" />
    <script>
        function OpenChaKanLiJi(string) {
            var zhandian = $("#cmbGuanLiBM_VI").val();
            var guanlik = $("#cmbGuanLiK_VI").val();
            var ym = $("#txtShuiLiangYM_I").val();
            var name = $("#hidName").val();
            var value = $("#HidValue").val();
            openCenter("/Pages/YongShui/12.ChaXunGL/JiHuaCX_CKLJ.aspx?TabStr=" + string + "&zhandian=" + encodeURI(zhandian) + "&guanlik=" + encodeURI(guanlik) + "&ym=" + ym + "&name=" + name + "&value=" + encodeURI(value), "800px", "200px");
        }
        function GVScrollToVisibleIndexOnClient(obj,index) {
           
            obj.SetVerticalScrollPosition(index * 25);
        }
        function first(obj, msg, key) {
            obj.SetFocusedRowIndex(0);
            hdCollection.Set(key, obj.GetRowKey(0));
            ASPxCallback1.PerformCallback(msg);
            GVScrollToVisibleIndexOnClient(obj, obj.GetFocusedRowIndex());
        }

        function last(obj, msg, key) {
            if (obj.GetFocusedRowIndex() == 0) {
                alert("当前已是第一条");
            }
            else {
                hdCollection.Set(key, obj.GetRowKey(obj.GetFocusedRowIndex() - 1));
                obj.SetFocusedRowIndex(obj.GetFocusedRowIndex() - 1);
                ASPxCallback1.PerformCallback(msg);
            }
            GVScrollToVisibleIndexOnClient(obj, obj.GetFocusedRowIndex());
        }

        function next(obj, msg, key) {
            if (obj.GetFocusedRowIndex() == obj.GetVisibleRowsOnPage() - 1) {
                alert("当前已是最后一条");
            }
            else {
                hdCollection.Set(key, obj.GetRowKey(obj.GetFocusedRowIndex() + 1));
                obj.SetFocusedRowIndex(obj.GetFocusedRowIndex() + 1);
                ASPxCallback1.PerformCallback(msg);
            }
            GVScrollToVisibleIndexOnClient(obj, obj.GetFocusedRowIndex());
        }

        function final(obj, msg, key) {
            hdCollection.Set(key, obj.GetRowKey(obj.GetVisibleRowsOnPage() - 1));
            obj.SetFocusedRowIndex(obj.GetVisibleRowsOnPage() - 1);
            ASPxCallback1.PerformCallback(msg);
            GVScrollToVisibleIndexOnClient(obj, obj.GetFocusedRowIndex());
        }

        function rowClick() {
            // debugger
            if (gvtab1.GetFocusedRowIndex() != -1) {
                $('#hidYhh_id').val(gvtab1.GetRowKey(gvtab1.GetFocusedRowIndex()));
                $("#HidValue").val(gvtab1.GetRowKey(gvtab1.GetFocusedRowIndex()));
                //alert($('#hidYhh_id').val());
                hdCollection.Set("ID", gvtab1.GetRowKey(gvtab1.GetFocusedRowIndex()));
                ASPxCallback1.PerformCallback("setinfo");
            }
        }
        function rowClick2() {
            if (gvtab2.GetFocusedRowIndex() != -1) {
                hdCollection.Set("ID", gvtab2.GetRowKey(gvtab2.GetFocusedRowIndex()));
                ASPxCallback1.PerformCallback("xdjh");
            }
        }

        function rowClick3() {
            if (gvtab3.GetFocusedRowIndex() != -1) {
                hdCollection.Set("ID", gvtab3.GetRowKey(gvtab3.GetFocusedRowIndex()));
                ASPxCallback1.PerformCallback("yjh");
            }
        }

        function rowClick4() {
            if (gvtab4.GetFocusedRowIndex() != -1) {
                hdCollection.Set("ID", gvtab4.GetRowKey(gvtab4.GetFocusedRowIndex()));
                ASPxCallback1.PerformCallback("jjjh");
            }
        }
        function rowClick5() {
           
            if (gvtab5.GetFocusedRowIndex() != -1) {
                hdCollection.Set("ID", gvtab5.GetRowKey(gvtab5.GetFocusedRowIndex()));
                
                ASPxCallback1.PerformCallback("yuetiaoz");
            }
        }
        function ClearTextValue()
        {
            var list = ",,,,,,,,,,,,,,,,,,,";
            var arr = list.split(',');
            txtYongHuH2.SetText(arr[2]);
            txtYongHuM2.SetText(arr[3]);
            txtJuHao.SetText(arr[4]);
            txtJuMing.SetText(arr[5]);
            txtYongShuiJ2.SetText(arr[6]);
            txtSheShuiDXFL.SetText(arr[7]);
            txtGongSiH.SetText(arr[8]);
            txtGongSiM.SetText(arr[9]);
            txtYeWuY.SetText(arr[10]);
            txtZiLaiSBS.SetText('0');
            txtHuiGuanBS.SetText(' ');
            txtShiKaoHY2.SetText(arr[11]);
            txtYongHuDZ2.SetText(arr[12]);
            txtKaiHuHM2.SetText(arr[13]);
            txtKaiHuYH.SetText(arr[14]);
            txtYinHangZH2.SetText(arr[15]);
        
            txtYongHuHtab3.SetText(arr[2]);
            txtYongHuMtab3.SetText(arr[3]);
            txtYiYueTab3.SetText(arr[4]);
            txtErYueTab3.SetText(arr[5]);
            txtSanYueTab3.SetText(arr[6]);
            txtSiYueTab3.SetText(arr[7]);
            txtWuYueTab3.SetText(arr[8]);
            txtLiuYueTab3.SetText(arr[9]);
            txtQiYueTab3.SetText(arr[10]);
            txtBaYueTab3.SetText(arr[11]);
            txtJiuYueTab3.SetText(arr[12]);
            txtShiYueTab3.SetText(arr[13]);
            txtShiYiYueTab3.SetText(arr[14]);
            txtShiErYueTab3.SetText(arr[15]);
            txtQuanNianHJtab3.SetText(arr[16]);
       
        }
        function ASPxCallback1Complete(rs) {
            var arr = rs.split('|');
            var type = arr[0];
            var state = arr[1];
            if (type == "setinfo") {
                txtYongHuH2.SetText(arr[2]);
                txtYongHuM2.SetText(arr[3]);
                txtJuHao.SetText(arr[4]);
                txtJuMing.SetText(arr[5]);
                txtYongShuiJ2.SetText(arr[6]);
                txtSheShuiDXFL.SetText(arr[7]);
                txtGongSiH.SetText(arr[8]);
                txtGongSiM.SetText(arr[9]);
                txtYeWuY.SetText(arr[10]);
                txtShiKaoHY2.SetText(arr[11]);
                txtYongHuDZ2.SetText(arr[12]);
                txtKaiHuHM2.SetText(arr[13]);
                txtKaiHuYH.SetText(arr[14]);
                txtYinHangZH2.SetText(arr[15]);
                txtZiLaiSBS.SetText(arr[16]);
                txtHuiGuanBS.SetText(arr[17]);
            }
            
            else if (type == "yjh") {
                txtYongHuHtab3.SetText(arr[2]);
                txtYongHuMtab3.SetText(arr[3]);
                txtYiYueTab3.SetText(arr[4]);
                txtErYueTab3.SetText(arr[5]);
                txtSanYueTab3.SetText(arr[6]);
                txtSiYueTab3.SetText(arr[7]);
                txtWuYueTab3.SetText(arr[8]);
                txtLiuYueTab3.SetText(arr[9]);
                txtQiYueTab3.SetText(arr[10]);
                txtBaYueTab3.SetText(arr[11]);
                txtJiuYueTab3.SetText(arr[12]);
                txtShiYueTab3.SetText(arr[13]);
                txtShiYiYueTab3.SetText(arr[14]);
                txtShiErYueTab3.SetText(arr[15]);
                txtQuanNianHJtab3.SetText(arr[16]);
            }
           
        }

    </script>
</head>
<body>
    <form id="form1" runat="server">
        <asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
        <div class="tabletitle1" align="center">
            一般考核户计划查询
        </div>
         <div style="display: none;">
            <dx:ASPxHiddenField ID="hdCollection" ClientInstanceName="hdCollection" runat="server"></dx:ASPxHiddenField>
            <dx:ASPxCallback ID="ASPxCallback1" ClientInstanceName="ASPxCallback1" runat="server" OnCallback="ASPxCallback1_Callback" ClientSideEvents-CallbackComplete="function(s,e){ASPxCallback1Complete(e.result);}"></dx:ASPxCallback>
        </div>
        <asp:UpdatePanel ID="updatePanel1" runat="server">
            <ContentTemplate>
                <input type="hidden" id="hidName" runat="server" value=""/>
                <input type="hidden" id="HidValue" runat="server" value=""/>
                <input  type="hidden" id="hidYhh_id" runat="server" value=""/>
                <div>
                    <div style="border: 1px solid #d0e4fe">
                        <table style="text-align:right;font-size: 12px;">
                            <tr>
                                
                                <td><span style="font-size: 12px;">站点：</span></td>
                                <td>
                                    <asp:Panel runat="server" ID="Panel1">
                                        <dx:ASPxComboBox runat="server" ID="cmbGuanLiBM" Width="80%" AutoPostBack="true" OnSelectedIndexChanged="cmbGuanLiBM_SelectedIndexChanged">
                                            <Items>
                                            </Items>
                                        </dx:ASPxComboBox>
                                    </asp:Panel>
                                </td>
                                <td><span style="font-size: 12px;">管理块：</span></td>
                                <td>
                                    <asp:Panel runat="server" ID="Panel2">
                                        <dx:ASPxComboBox runat="server" ID="cmbGuanLiK" Width="80%">
                                            <Items>
                                                <dx:ListEditItem Text="全部" Value="" Selected="true" />
                                            </Items>
                                        </dx:ASPxComboBox>
                                    </asp:Panel>
                                </td>
                                <td><span style="font-size: 12px;">水量年月：</span></td>
                                <td>
                                    <dx:ASPxTextBox runat="server" ID="txtShuiLiangYM"  Width="80%" ClientInstanceName="txtShuiLiangYM">
                                        <ClientSideEvents KeyUp="function(s,e){inputNum(s);}"/>
                                    </dx:ASPxTextBox>
                                </td>
                               
                                 <td>
                                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                     <dx:ASPxLoadingPanel runat="server" ID="LoadPanel11" ClientInstanceName="LoadPanel" Text="正在查询"></dx:ASPxLoadingPanel>
                                    <dx:ASPxButton runat="server" ID="btnChaXun" Text="查询" OnClick="btnChaXun_Click">
                                        <ClientSideEvents  Click="function(s,e){LoadPanel.Show();}"/>
                                    </dx:ASPxButton>
                                </td>
                            </tr>
                            <tr>
                                <td >
                                    <dx:ASPxRadioButton    runat="server" ID="rbnYongHuH" Text="用户号" GroupName="1" ClientInstanceName="rbnYongHuH"></dx:ASPxRadioButton>
                                </td>
                                <td>
                                    <dx:ASPxTextBox runat="server" ID="txtYongHuH" Width="80%">
                                        <ClientSideEvents   GotFocus="function(s,e){rbnYongHuH.SetChecked(true);}"/>
                                    </dx:ASPxTextBox>
                                </td>
                                <td>
                                    <dx:ASPxRadioButton runat="server" ID="rbnYongHuM" Text="用户名" GroupName="1" ClientInstanceName="rbnYongHuM"></dx:ASPxRadioButton>

                                </td>
                                <td>
                                    <dx:ASPxTextBox runat="server" ID="txtYongHuM" Width="80%">
                                        <ClientSideEvents   GotFocus="function(s,e){rbnYongHuM.SetChecked(true);}"/>
                                    </dx:ASPxTextBox>
                                </td>
                                <td>
                                    <dx:ASPxRadioButton runat="server" ID="rbnYongHuDZ" Text="用户地址" GroupName="1" ClientInstanceName="rbnYongHuDZ"></dx:ASPxRadioButton>
                                </td>
                                <td >
                                    <dx:ASPxTextBox runat="server" ID="txtYongHuDZ" Width="80%">
                                        <ClientSideEvents   GotFocus="function(s,e){rbnYongHuDZ.SetChecked(true);}"/>
                                    </dx:ASPxTextBox>
                                </td>
                            </tr>
                        </table>
                    </div>
                    <dx:ASPxPageControl ID="ASPxPageControl1" runat="server" OnActiveTabChanged="ASPxPageControl1_ActiveTabChanged" ActiveTabIndex="0" Width="98%" AutoPostBack="true">
                        <TabPages>
                            <dx:TabPage Text="用户信息">
                                <ContentCollection>
                                    <dx:ContentControl>
                                        <div>
                                            <div>
                                                <table style="">
                                                    <tr>
                                                        <td>
                                                            <dx:ASPxRadioButton runat="server" ID="rbnJuXX" Text="局信息" GroupName="2" ClientInstanceName="rbnJuXX"></dx:ASPxRadioButton>
                                                        </td>
                                                        <td>
                                                            <asp:Panel runat="server" ID="Panel13">
                                                                <dx:ASPxComboBox runat="server" ID="cbmJuXX" Width="100%">
                                                                    <ClientSideEvents   GotFocus="function(s,e){rbnJuXX.SetChecked(true);}"/>
                                                                </dx:ASPxComboBox>
                                                            </asp:Panel>
                                                        </td>
                                                        <td>
                                                            <dx:ASPxRadioButton runat="server" ID="rbnGongSiXX" Text="公司信息" GroupName="2" ClientInstanceName="rbnGongSiXX"></dx:ASPxRadioButton>
                                                        </td>
                                                        <td>
                                                            <asp:Panel runat="server" ID="Panel14">
                                                                <dx:ASPxComboBox runat="server" ID="cmbGongSiXX" Width="100%">
                                                                    <ClientSideEvents   GotFocus="function(s,e){rbnGongSiXX.SetChecked(true);}"/>
                                                                </dx:ASPxComboBox>
                                                            </asp:Panel>
                                                        </td>
                                                        <td>
                                                            <dx:ASPxRadioButton runat="server" ID="rbnYeWuY" Text="业务员" GroupName="2" ClientInstanceName="rbnYeWuY"></dx:ASPxRadioButton>

                                                        </td>
                                                        <td>
                                                            <asp:Panel runat="server" ID="Panel3">
                                                                <dx:ASPxComboBox runat="server" ID="cmbYeWuY" Width="80%">
                                                                    <ClientSideEvents   GotFocus="function(s,e){rbnYeWuY.SetChecked(true);}"/>
                                                                </dx:ASPxComboBox>
                                                            </asp:Panel>
                                                        </td>
                                                        <td style="width:70px;"><div onclick="first(gvtab1,'setinfo','ID');"><img src="../../../Images/first.jpg" /></div></td>
                                                        <td style="width:70px;"><div onclick="last(gvtab1,'setinfo','ID');"><img src="../../../Images/last.jpg" /></div></td>
                                                        <td style="width:70px;"><div onclick="next(gvtab1,'setinfo','ID');"><img src="../../../Images/next.jpg" /></div></td>
                                                        <td style="width:70px;"><div onclick="final(gvtab1,'setinfo','ID');"><img src="../../../Images/final.jpg" /></div></td>
                                                        <td>
                                                            <dx:ASPxLabel ID="zjltab1" Text="共0条" runat="server" ForeColor="Blue"></dx:ASPxLabel>
                                                        </td>
                                                    </tr>
                                                </table>
                                            </div>
                                        </div>
                                        <div style="border: 1px solid #d0e4fe; width: 100%;">
                                            <div>
                                                <dx:ASPxGridView ID="gvYongHuXXTab1" ClientInstanceName="gvtab1" runat="server" AutoGenerateColumns="False" KeyFieldName="ID" 
                                                    EnableCallBacks="true" ClientIDMode="AutoID" Settings-ShowVerticalScrollBar="true" Theme="Aqua1" Width="100%">
                                                    <Columns>
                                                        <dx:GridViewDataTextColumn FieldName="用户号" Caption="用户号" Width="60">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="局号" Caption="局号" Width="50">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="用户名" Caption="用户名" Width="300">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="用户地址" Caption="用户地址" Width="300">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="用水性质" Caption="用水性质" Width="100">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="用水价" Caption="用水价" Width="60">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="考核复用" Caption="考核复用" Width="75">
                                                            <DataItemTemplate>
                                                                <%#Eval("考核复用").ToString()=="0"?"不考核":Eval("考核复用").ToString()=="1"?"工业":"非工业" %>
                                                            </DataItemTemplate>
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="收费方式" Caption="收费方式" Width="75">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="试考核月" Caption="试考核月" Width="75">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="业务员" Caption="业务员" Width="60">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="I_ZLSBS" Caption="自来水表数" Width="80">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="I_HGBS" Caption="回灌水表数" Width="80">
                                                        </dx:GridViewDataTextColumn>
                                                        <%--<dx:GridViewDataTextColumn FieldName="" Caption="连续加价状态" Width="90">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="" Caption="连续加价次数" Width="90">
                                                        </dx:GridViewDataTextColumn>--%>
                                                        <dx:GridViewDataTextColumn FieldName="行政区" Caption="行政区" Width="60">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="局名" Caption="局名" Width="120">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="公司名" Caption="公司名" Width="120">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="管理块" Caption="管理块" Width="60">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="邮编" Caption="邮编" Width="60">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="联系部门" Caption="联系地址" Width="200">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="联系人" Caption="联系人" Width="160">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="联系电话" Caption="联系电话" Width="160">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="开户户名" Caption="开户户名" Width="220">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="银行账号" Caption="银行帐号" Width="200">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="开户银行" Caption="开户银行" Width="180">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="S_SHESHUIDXFLMC" Caption="涉水对象分类" Width="120">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="原用户号" Caption="原用户号" Width="120">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="立户日期" Caption="立户日期" Width="75"  PropertiesTextEdit-DisplayFormatString="yyyy-MM-dd">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="户籍修改日期" Caption="户籍管理日期" Width="80"  PropertiesTextEdit-DisplayFormatString="yyyy-MM-dd">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="修改日期" Caption="修改日期" Width="75"  PropertiesTextEdit-DisplayFormatString="yyyy-MM-dd">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="修改人" Caption="修改人" Width="70">
                                                        </dx:GridViewDataTextColumn>
                                                    </Columns>
                                                    <Settings VerticalScrollBarMode="Visible" HorizontalScrollBarMode="Auto" />
                                                    <SettingsPager Mode="EndlessPaging" PageSize="100" FirstPageButton-Visible="true" />
                                                    <Settings ShowFooter="True" />
                                                    <SettingsBehavior AllowFocusedRow="True"  ColumnResizeMode="Control" />
                                                    <ClientSideEvents Init="function(s,e){AdjustSize(360,gvtab1);}" FocusedRowChanged="function(s,e){rowClick();}"/>
                                                    <%--<Settings  VerticalScrollBarMode="Auto" HorizontalScrollBarMode="Auto" />--%>
                                                    <SettingsBehavior  ProcessFocusedRowChangedOnServer="false"/>
                                                    
                                                </dx:ASPxGridView>
                                            </div>
                                            <div style="margin-top:20px;">
                                                <table style="text-align: right; height: 150px; width: 100%;">
                                                    <tr>
                                                        <td style="width:9%;"><span style="font-size: 12px;">用户号：</span></td>
                                                        <td style="width:13%;">
                                                            <dx:ASPxTextBox runat="server" ID="txtYongHuH2"  Width="80%"  ClientEnabled="false" ClientInstanceName="txtYongHuH2"></dx:ASPxTextBox>
                                                        </td>
                                                        <td style="width:9%;"><span style="font-size: 12px;">用户名：</span></td>
                                                        <td style="width:16%;">
                                                            <dx:ASPxTextBox runat="server" ID="txtYongHuM2"  Width="100%" ClientEnabled="false" ClientInstanceName="txtYongHuM2"></dx:ASPxTextBox>
                                                        </td>
                                                         <td><span style="font-size: 12px;">用户地址：</span></td>
                                                        <td colspan="3">
                                                            <dx:ASPxTextBox runat="server" ID="txtYongHuDZ2"  Width="100%" ClientEnabled="false" ClientInstanceName="txtYongHuDZ2"></dx:ASPxTextBox>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td><span style="font-size: 12px;">局号：</span></td>
                                                        <td>
                                                            <dx:ASPxTextBox runat="server" ID="txtJuHao"  Width="80%" ClientEnabled="false" ClientInstanceName="txtJuHao"></dx:ASPxTextBox>
                                                        </td>
                                                        <td><span style="font-size: 12px;">局名：</span></td>
                                                        <td>
                                                            <dx:ASPxTextBox runat="server" ID="txtJuMing"  Width="100%" ClientEnabled="false" ClientInstanceName="txtJuMing"></dx:ASPxTextBox>
                                                        </td>
                                                        <td><span style="font-size: 12px;">用水价：</span></td>
                                                        <td>
                                                            <dx:ASPxTextBox runat="server" ID="txtYongShuiJ2"  Width="80%" ClientEnabled="false" ClientInstanceName="txtYongShuiJ2"></dx:ASPxTextBox>
                                                        </td>
                                                        <td><span style="font-size: 12px;">涉水对象分类：</span></td>
                                                        <td>
                                                            <dx:ASPxTextBox runat="server" ID="txtSheShuiDXFL"  Width="100%" ClientEnabled="false" ClientInstanceName="txtSheShuiDXFL"></dx:ASPxTextBox>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td><span style="font-size: 12px;">公司号：</span></td>
                                                        <td>
                                                            <dx:ASPxTextBox runat="server" ID="txtGongSiH"  Width="80%" ClientEnabled="false" ClientInstanceName="txtGongSiH"></dx:ASPxTextBox>
                                                        </td>
                                                        <td><span style="font-size: 12px;">公司名：</span></td>
                                                        <td>
                                                            <dx:ASPxTextBox runat="server" ID="txtGongSiM"  Width="100%" ClientEnabled="false" ClientInstanceName="txtGongSiM"></dx:ASPxTextBox>
                                                        </td>
                                                        <td>
                                                            <span style="font-size: 12px;">业务员：</span>
                                                        </td>
                                                        <td>
                                                             <dx:ASPxTextBox runat="server" ID="txtYeWuY"  Width="80%" ClientEnabled="false" ClientInstanceName="txtYeWuY"></dx:ASPxTextBox>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        
                                                        <td><span style="font-size: 12px;">自来水表数：</span></td>
                                                        <td>
                                                            <dx:ASPxTextBox runat="server" ID="txtZiLaiSBS"  Width="80%" ClientEnabled="false" ClientInstanceName="txtZiLaiSBS"></dx:ASPxTextBox>
                                                        </td>
                                                        <td>
                                                            <span style="font-size: 12px;">回灌表数：</span>
                                                        </td>
                                                        <td>
                                                             <dx:ASPxTextBox runat="server" ID="txtHuiGuanBS"  Width="100%" ClientEnabled="false" ClientInstanceName="txtHuiGuanBS"></dx:ASPxTextBox>
                                                        </td>
                                                        <td><span style="font-size: 12px;">试考核月：</span></td>
                                                        <td>
                                                            <dx:ASPxTextBox runat="server" ID="txtShiKaoHY2"  Width="80%" ClientEnabled="false" ClientInstanceName="txtShiKaoHY2"></dx:ASPxTextBox>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td><span style="font-size: 12px;">开户户名：</span></td>
                                                        <td colspan="2">
                                                            <dx:ASPxTextBox runat="server" ID="txtKaiHuHM2"  Width="100%" ClientEnabled="false" ClientInstanceName="txtKaiHuHM2"></dx:ASPxTextBox>
                                                        </td>
                                                        
                                                        <td><span style="font-size: 12px;">开户银行：</span></td>
                                                        <td colspan="2">
                                                            <dx:ASPxTextBox runat="server" ID="txtKaiHuYH"  Width="100%" ClientEnabled="false" ClientInstanceName="txtKaiHuYH"></dx:ASPxTextBox>
                                                        </td>
                                                        <td><span style="font-size: 12px;">银行账号：</span></td>
                                                        <td>
                                                            <dx:ASPxTextBox runat="server" ID="txtYinHangZH2"  Width="100%" ClientEnabled="false" ClientInstanceName="txtYinHangZH2"></dx:ASPxTextBox>
                                                        </td>
                                                    </tr>
                                                </table>
                                            </div>
                                        </div>

                                    </dx:ContentControl>
                                </ContentCollection>
                            </dx:TabPage>
                            <dx:TabPage Text="原计划">
                                <ContentCollection>
                                    <dx:ContentControl>
                                        <div>
                                            <table>
                                                <tr>
                                                    <td style="width:70px;"><div onclick="first(gvtab3,'yjh','S_YONGHUH');"><img src="../../../Images/first.jpg" /></div></td>
                                                    <td style="width:70px;"><div onclick="last(gvtab3,'yjh','S_YONGHUH');"><img src="../../../Images/last.jpg" /></div></td>
                                                    <td style="width:70px;"><div onclick="next(gvtab3,'yjh','S_YONGHUH');"><img src="../../../Images/next.jpg" /></div></td>
                                                    <td style="width:70px;"><div onclick="final(gvtab3,'yjh','S_YONGHUH');"><img src="../../../Images/final.jpg" /></div></td>
                                                     <td style="width:70px;">&nbsp;</td>
                                                    <td>
                                                        <dx:ASPxLabel ID="zjltab3" Text="共0条" runat="server" ForeColor="Blue"></dx:ASPxLabel>
                                                    </td>
                                                </tr>
                                            </table>
                                        </div>
                                        <div style="">
                                            <fieldset style="border: 1px solid #d0e4fe;" id="fieldset">
                                                <legend id="legend2" runat="server"></legend>
                                                <dx:ASPxGridView ID="gvYuanJiHTab3" ClientInstanceName="gvtab3" runat="server" AutoGenerateColumns="False" KeyFieldName="S_YONGHUH" 
                                                    ClientIDMode="AutoID" Settings-ShowVerticalScrollBar="true" Width="100%"   EnableCallBacks="true">
                                                    <Columns>
                                                        <dx:GridViewDataTextColumn FieldName="S_YONGHUH" Caption="用户号" Width="60">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="S_YONGHUM" Caption="用户名" Width="300">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="I_Y" Caption="水量年" Width="55">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="I_HEJI" Caption="合计" Width="80">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="I_M1" Caption="一月" Width="60">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="I_M2" Caption="二月" Width="60">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="I_M3" Caption="三月" Width="60">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="I_M4" Caption="四月" Width="60">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="I_M5" Caption="五月" Width="60">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="I_M6" Caption="六月" Width="60">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="I_M7" Caption="七月" Width="60">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="I_M8" Caption="八月" Width="60">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="I_M9" Caption="九月" Width="60">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="I_M10" Caption="十月" Width="60">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="I_M11" Caption="十一月" Width="60">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="I_M12" Caption="十二月" Width="60">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="S_YWY" Caption="业务员" Width="60">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn FieldName="D_XIADARQ" Caption="调整日期" Width="80" PropertiesTextEdit-DisplayFormatString="yyyy-MM-dd">
                                                        </dx:GridViewDataTextColumn>
                                                    </Columns>
                                                    <Settings VerticalScrollBarMode="Visible" HorizontalScrollBarMode="Auto" />
                                                    <SettingsPager Mode="EndlessPaging" PageSize="100" FirstPageButton-Visible="true" />
                                                    <Settings ShowFooter="True" />
                                                    <SettingsBehavior AllowFocusedRow="True"  ColumnResizeMode="Control" />
                                                    <ClientSideEvents Init="function(s,e){AdjustSize(465,gvtab3);}"  FocusedRowChanged="function(s,e){rowClick3();}"/>
                                                    <%--<Settings  VerticalScrollBarMode="Auto" HorizontalScrollBarMode="Auto" />--%>
                                                    <SettingsBehavior ProcessFocusedRowChangedOnServer="false" />
                                                </dx:ASPxGridView>
                                            </fieldset>
                                        </div>
                                        <div>
                                            <div>
                                                <table style="text-align: right; height: 40px; width: 50%;">
                                                    <tr>
                                                        <td style="width: 9%;"><span style="font-size: 12px;">用户号：</span></td>
                                                        <td style="width: 13%;">
                                                            <dx:ASPxTextBox runat="server" ID="txtYongHuHtab3" Width="80%"  ClientEnabled="false" ClientInstanceName="txtYongHuHtab3"></dx:ASPxTextBox>
                                                        </td>
                                                        <td style="width: 9%;"><span style="font-size: 12px;">用户名：</span></td>
                                                        <td style="width: 30%;">
                                                            <dx:ASPxTextBox runat="server" ID="txtYongHuMtab3" Width="100%" ClientEnabled="false" ClientInstanceName="txtYongHuMtab3"></dx:ASPxTextBox>
                                                        </td>
                                                    </tr>
                                                </table>
                                            </div>
                                            <div style="border: 1px solid #d0e4fe; ">
                                                <table style="height: 80px;">
                                                    <tr>
                                                        <td style="width: 5%;"><span style="font-size: 12px;">一月：</span></td>
                                                        <td>
                                                            <dx:ASPxTextBox runat="server" ID="txtYiYueTab3" Width="80%" ClientEnabled="false" HorizontalAlign="Right" ClientInstanceName="txtYiYueTab3"></dx:ASPxTextBox>
                                                        </td>
                                                        <td style="width: 5%;"><span style="font-size: 12px;">二月：</span></td>
                                                        <td>
                                                            <dx:ASPxTextBox runat="server" ID="txtErYueTab3" Width="80%" ClientEnabled="false" HorizontalAlign="Right" ClientInstanceName="txtErYueTab3"></dx:ASPxTextBox>
                                                        </td>
                                                        <td style="width: 5%;"><span style="font-size: 12px;">三月：</span></td>
                                                        <td>
                                                            <dx:ASPxTextBox runat="server" ID="txtSanYueTab3" Width="80%" ClientEnabled="false" HorizontalAlign="Right" ClientInstanceName="txtSanYueTab3"></dx:ASPxTextBox>
                                                        </td>
                                                        <td style="width: 5%;"><span style="font-size: 12px;">四月：</span></td>
                                                        <td>
                                                            <dx:ASPxTextBox runat="server" ID="txtSiYueTab3" Width="80%" ClientEnabled="false" HorizontalAlign="Right" ClientInstanceName="txtSiYueTab3"></dx:ASPxTextBox>
                                                        </td>
                                                        <td style="width: 5%;"><span style="font-size: 12px;">五月：</span></td>
                                                        <td>
                                                            <dx:ASPxTextBox runat="server" ID="txtWuYueTab3" Width="80%" ClientEnabled="false" HorizontalAlign="Right" ClientInstanceName="txtWuYueTab3"></dx:ASPxTextBox>
                                                        </td>
                                                        <td style="width: 5%;"><span style="font-size: 12px;">六月：</span></td>
                                                        <td>
                                                            <dx:ASPxTextBox runat="server" ID="txtLiuYueTab3" Width="80%" ClientEnabled="false" HorizontalAlign="Right" ClientInstanceName="txtLiuYueTab3"></dx:ASPxTextBox>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td><span style="font-size: 12px;">七月：</span></td>
                                                        <td>
                                                            <dx:ASPxTextBox runat="server" ID="txtQiYueTab3" Width="80%" ClientEnabled="false" HorizontalAlign="Right" ClientInstanceName="txtQiYueTab3"></dx:ASPxTextBox>
                                                        </td>
                                                        <td><span style="font-size: 12px;">八月：</span></td>
                                                        <td>
                                                            <dx:ASPxTextBox runat="server" ID="txtBaYueTab3" Width="80%" ClientEnabled="false" HorizontalAlign="Right" ClientInstanceName="txtBaYueTab3"></dx:ASPxTextBox>
                                                        </td>
                                                        <td><span style="font-size: 12px;">九月：</span></td>
                                                        <td>
                                                            <dx:ASPxTextBox runat="server" ID="txtJiuYueTab3" Width="80%" ClientEnabled="false" HorizontalAlign="Right" ClientInstanceName="txtJiuYueTab3"></dx:ASPxTextBox>
                                                        </td>
                                                        <td><span style="font-size: 12px;">十月：</span></td>
                                                        <td>
                                                            <dx:ASPxTextBox runat="server" ID="txtShiYueTab3" Width="80%" ClientEnabled="false" HorizontalAlign="Right" ClientInstanceName="txtShiYueTab3"></dx:ASPxTextBox>
                                                        </td>
                                                        <td><span style="font-size: 12px;">十一月：</span></td>
                                                        <td>
                                                            <dx:ASPxTextBox runat="server" ID="txtShiYiYueTab3" Width="80%" ClientEnabled="false" HorizontalAlign="Right" ClientInstanceName="txtShiYiYueTab3"></dx:ASPxTextBox>
                                                        </td>
                                                        <td><span style="font-size: 12px;">十二月：</span></td>
                                                        <td>
                                                            <dx:ASPxTextBox runat="server" ID="txtShiErYueTab3" Width="80%" ClientEnabled="false" HorizontalAlign="Right" ClientInstanceName="txtShiErYueTab3"></dx:ASPxTextBox>
                                                        </td>
                                                    </tr>
                                                </table>
                                            </div>
                                            <div style="float: right;">
                                                <table style="height:60px;">
                                                    <tr>
                                                        <td><span style="font-size: 12px;">全年合计：</span></td>
                                                        <td>
                                                            <dx:ASPxTextBox runat="server" ID="txtQuanNianHJtab3" Width="80%" ClientEnabled="false" HorizontalAlign="Right" ClientInstanceName="txtQuanNianHJtab3"></dx:ASPxTextBox>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td>
                                                            <dx:ASPxButton runat="server" ID="ASPxButton1" Text="导出到dbf" Width="100%"></dx:ASPxButton>
                                                        </td>
                                                        <td>&nbsp;&nbsp;
                                                            <dx:ASPxButton runat="server" ID="btnChaKanLJtab3" Text="查看累计" Width="80%" ClientSideEvents-Click="function(s,e){OpenChaKanLiJi('tab3');}" ClientVisible="false"></dx:ASPxButton>
                                                        </td>
                                                    </tr>
                                                </table>
                                            </div>
                                        </div>
                                    </dx:ContentControl>
                                </ContentCollection>
                            </dx:TabPage>
                        </TabPages>
                    </dx:ASPxPageControl>
                    
                </div>
            </ContentTemplate>

        </asp:UpdatePanel>
    </form>
</body>
</html>
